<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.20"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JCSDK Objective-C API Reference for iOS/macOS: JCSDKOC/JCSDKOC/JCClient/JCClient.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">JCSDK Objective-C API Reference for iOS/macOS
   &#160;<span id="projectnumber">2.3.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.20 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_264cb3eb38195563df8d4ec61e97ef66.html">JCSDKOC</a></li><li class="navelem"><a class="el" href="dir_8909aba9135893f62ff3b0388ad9e7d6.html">JCSDKOC</a></li><li class="navelem"><a class="el" href="dir_6b9b9666fe8022177078c18f794f3fd3.html">JCClient</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">JCClient.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_j_c_client_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">//  JCClient.h</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">//  JCSDK-OC</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">//  Created by maikireton on 2017/8/10.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">//  Copyright © 2017年 juphoon. All rights reserved.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">//</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160; </div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#import &lt;Foundation/Foundation.h&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#import &quot;<a class="code" href="_j_c_client_callback_8h.html">JCClientCallback.h</a>&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160; </div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="interface_j_c_client_create_param.html">   20</a></span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_j_c_client_create_param.html">JCClientCreateParam</a> : NSObject</div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="interface_j_c_client_create_param.html#aed816611c710923430b437bb4447d1b7">   27</a></span>&#160;<span class="keyword">@property</span> (nonatomic, copy) NSString* __nonnull <a class="code" href="interface_j_c_client_create_param.html#aed816611c710923430b437bb4447d1b7">sdkInfoDir</a>;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="interface_j_c_client_create_param.html#a26a83aa05156427b235a9030c11e8472">   34</a></span>&#160;<span class="keyword">@property</span> (nonatomic, copy) NSString* __nonnull <a class="code" href="interface_j_c_client_create_param.html#a26a83aa05156427b235a9030c11e8472">sdkLogDir</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="interface_j_c_client_create_param.html#a2a6f5b274b4d97994fb1866f20a2e66e">   44</a></span>&#160;<span class="keyword">@property</span> (nonatomic) <a class="code" href="group___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97.html#gaecbf111920907460eb6bcfea1ddb1c6d">JCLogLevel</a> <a class="code" href="interface_j_c_client_create_param.html#a2a6f5b274b4d97994fb1866f20a2e66e">sdkLogLevel</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">@end</span></div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="interface_j_c_client_login_param.html">   54</a></span>&#160;<span class="keyword">@interface </span><a class="code" href="interface_j_c_client_login_param.html">JCClientLoginParam</a> : NSObject</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160; </div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="interface_j_c_client_login_param.html#a2ef282b8ebbe85cefd727120c85cec50">   61</a></span>&#160;<span class="keyword">@property</span> (nonatomic, copy) NSString* __nonnull deviceId;</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="interface_j_c_client_login_param.html#aaabf2a44111c26f74cbacea47010fdff">   68</a></span>&#160;<span class="keyword">@property</span> (nonatomic, copy) NSString* __nullable httpsProxy;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="interface_j_c_client_login_param.html#a439aaa9b40a2190bf1641744cea7527b">   75</a></span>&#160;<span class="keyword">@property</span> (nonatomic) <span class="keywordtype">bool</span> autoCreateAccount;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="interface_j_c_client_login_param.html#ab15173a013fd524ef254c5d4bd1897f5">   83</a></span>&#160;<span class="keyword">@property</span> (nonatomic, strong) NSString* __nonnull terminalType;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="keyword">@end</span></div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno"><a class="line" href="interface_j_c_client.html">   93</a></span>&#160; <span class="keyword">@interface </span><a class="code" href="interface_j_c_client.html">JCClient</a> : NSObject</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="line" href="interface_j_c_client.html#adafb7d2be56855d494b696d578db7234">  101</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly, copy) NSString* __nonnull userId;</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160; </div>
<div class="line"><a name="l00118"></a><span class="lineno"><a class="line" href="interface_j_c_client.html#a73d7c50285ac7afcb6f1e1bbd94851e1">  118</a></span>&#160;<span class="keyword">@property</span> (nonatomic, copy) NSString* __nonnull displayName;</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="interface_j_c_client.html#af428728decbaf19a2ac6552a07351a65">  129</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) <a class="code" href="group___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97.html#ga485360c806cb3a83e41ac56a9ad7e709">JCClientState</a> state;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160; </div>
<div class="line"><a name="l00137"></a><span class="lineno"><a class="line" href="interface_j_c_client.html#a2df352ba1e2764058f49404d32dd041b">  137</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) <a class="code" href="interface_j_c_client_create_param.html">JCClientCreateParam</a>* __nullable createParam;</div>
<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160; </div>
<div class="line"><a name="l00146"></a><span class="lineno"><a class="line" href="interface_j_c_client.html#a4c7a7e5dd921478ee8c5f6e59818f7c6">  146</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) <a class="code" href="interface_j_c_client_login_param.html">JCClientLoginParam</a>* __nullable loginParam;</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160; </div>
<div class="line"><a name="l00153"></a><span class="lineno"><a class="line" href="interface_j_c_client.html#a19b3f00c5f4a51d8d008a0af49878292">  153</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSString* __nonnull appkey;</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160; </div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="line" href="interface_j_c_client.html#a30719cf88f438e003688e2b6962fa28c">  158</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSString* __nonnull serverUid;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160; </div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="interface_j_c_client.html#ade9766726cb31848c3afa720b6e7472a">  167</a></span>&#160;<span class="keyword">@property</span> (nonatomic, readonly) NSString * __nonnull serverAddress;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;+(<a class="code" href="interface_j_c_client.html">JCClient</a>* __nullable)create:(NSString* __nonnull)appKey callback:(<span class="keywordtype">id</span>&lt;<a class="code" href="protocol_j_c_client_callback-p.html">JCClientCallback</a>&gt; __nonnull)callback creatParam:(<a class="code" href="interface_j_c_client_create_param.html">JCClientCreateParam</a>* __nullable)createParam;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160; </div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;+(void)destroy;</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160; </div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;-(bool)login:(NSString* __nonnull)userId password:(NSString* __nonnull)password serverAddress:(NSString*__nullable)serverAddress loginParam:(<a class="code" href="interface_j_c_client_login_param.html">JCClientLoginParam</a>* __nullable)loginParam;</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160; </div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160; </div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;-(bool)relogin:(NSString* __nonnull)userId password:(NSString* __nonnull)password serverAddress:(NSString*__nullable)serverAddress loginParam:(<a class="code" href="interface_j_c_client_login_param.html">JCClientLoginParam</a>* __nullable)loginParam;</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160; </div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;-(bool)logout;</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160; </div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="keyword">@end</span></div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160; </div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="agroup___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97_html_gaecbf111920907460eb6bcfea1ddb1c6d"><div class="ttname"><a href="group___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97.html#gaecbf111920907460eb6bcfea1ddb1c6d">JCLogLevel</a></div><div class="ttdeci">JCLogLevel</div><div class="ttdef"><b>Definition:</b> JCClientConstants.h:91</div></div>
<div class="ttc" id="ainterface_j_c_client_create_param_html_aed816611c710923430b437bb4447d1b7"><div class="ttname"><a href="interface_j_c_client_create_param.html#aed816611c710923430b437bb4447d1b7">JCClientCreateParam::sdkInfoDir</a></div><div class="ttdeci">NSString *__nonnull sdkInfoDir</div><div class="ttdef"><b>Definition:</b> JCClient.h:27</div></div>
<div class="ttc" id="agroup___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97_html_ga485360c806cb3a83e41ac56a9ad7e709"><div class="ttname"><a href="group___xE7_x99_xBB_xE5_xBD_x95_xE6_xA8_xA1_xE5_x9D_x97.html#ga485360c806cb3a83e41ac56a9ad7e709">JCClientState</a></div><div class="ttdeci">JCClientState</div><div class="ttdef"><b>Definition:</b> JCClientConstants.h:75</div></div>
<div class="ttc" id="a_j_c_client_callback_8h_html"><div class="ttname"><a href="_j_c_client_callback_8h.html">JCClientCallback.h</a></div></div>
<div class="ttc" id="aprotocol_j_c_client_callback-p_html"><div class="ttname"><a href="protocol_j_c_client_callback-p.html">JCClientCallback-p</a></div><div class="ttdef"><b>Definition:</b> JCClientCallback.h:20</div></div>
<div class="ttc" id="ainterface_j_c_client_create_param_html_a2a6f5b274b4d97994fb1866f20a2e66e"><div class="ttname"><a href="interface_j_c_client_create_param.html#a2a6f5b274b4d97994fb1866f20a2e66e">JCClientCreateParam::sdkLogLevel</a></div><div class="ttdeci">JCLogLevel sdkLogLevel</div><div class="ttdef"><b>Definition:</b> JCClient.h:44</div></div>
<div class="ttc" id="ainterface_j_c_client_login_param_html"><div class="ttname"><a href="interface_j_c_client_login_param.html">JCClientLoginParam</a></div><div class="ttdef"><b>Definition:</b> JCClient.h:55</div></div>
<div class="ttc" id="ainterface_j_c_client_create_param_html"><div class="ttname"><a href="interface_j_c_client_create_param.html">JCClientCreateParam</a></div><div class="ttdef"><b>Definition:</b> JCClient.h:21</div></div>
<div class="ttc" id="ainterface_j_c_client_create_param_html_a26a83aa05156427b235a9030c11e8472"><div class="ttname"><a href="interface_j_c_client_create_param.html#a26a83aa05156427b235a9030c11e8472">JCClientCreateParam::sdkLogDir</a></div><div class="ttdeci">NSString *__nonnull sdkLogDir</div><div class="ttdef"><b>Definition:</b> JCClient.h:34</div></div>
<div class="ttc" id="ainterface_j_c_client_html"><div class="ttname"><a href="interface_j_c_client.html">JCClient</a></div><div class="ttdef"><b>Definition:</b> JCClient.h:94</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="http://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.8.20
</small></address>
</body>
</html>
